const promise = new Promise((resolve, reject) => {
    console.log(1);
    setTimeout(() => {
        console.log("timerStart");
        resolve("success");
        console.log("timerEnd");
    }, 0);
    console.log(2);
});
//? resolve在宏里 所以不执行(微队列没任务)
promise.then((res) => {
    console.log(res);
});
console.log(4);
